<template>
  <!-- 标签 -->
  <div>
    <el-table :data="tableData" style="width: 100%" :default-sort="{ prop: 'date', order: 'descending' }">
      <el-table-column prop="name" label="标签名称" width="180"> </el-table-column>
      <el-table-column prop="English" label="标签描述" width="180"> </el-table-column>
      <el-table-column prop="assetNumber" label="创建时间" width="180"> </el-table-column>
    </el-table>

    <pagination v-show="total > 0" :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" :page-sizes="pageArray" @pagination="getList(listQuery)" />
  </div>
</template>
<script>
import { queryColumnModel } from '@/api/modelDataApi/index'
import Pagination from '@/components/Pagination/index.vue'

export default {
  components: {
    Pagination,
  },
  data() {
    return {
      total: 0,

      pageArray: this.$store.getters.pageArray,
      listQuery: {
        page: 1,
        limit: this.$store.getters.defaultPageSize,
      },
      tableData: [],
    }
  },
  mounted() {
    this.getList(this.listQuery)
  },
  methods: {
    getList(item) {
      // queryColumnModel(item).then((res) => {
      //   console.log(res, '111111100')
      // })
    },

  },
}
</script>
<style scoped></style>
